package com.school.base.dao;

import java.util.List;

import com.school.base.model.Teacher;

public interface ITeacherDao {
	public Teacher getTeacherById(int id);

	public List<Teacher> getTeacherList(Teacher teacher, int offset, int pageSize);

	public int getTotalCount(Teacher teacher);

	public void updateTeacher(Teacher teacher);

	public void deleteTeacher(int id);

	public void insertTeacher(Teacher teacher);

	public boolean checkLoginName(String loginName,int teacherId);
	
	public List<Teacher> getAll();
	
	public List<Teacher> getTeacherListByName(String teacherName);
}
